<extend name="Layout/main" />
<block name="css"></block>
<block name="style"></block>
<block name="js"></block>
<block name="script"></block>
<block name="model">基础设置</block>
<block name="controller">短信推送</block>
<block name="action">短信推送</block>
<block name="desc"></block>
<block name="content">
    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title">短信推送列表</h3>
            <div class="box-tools">
				<form class="form-horizontal" action="{:U('page')}" method="get">
				<div class="input-group pull-right" style="width:180px;">
					<input type="text" name="search" value="{$search}" class="form-control" placeholder="请输入关键字" autocomplete="off">
					<div class="input-group-btn">
						<button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
					</div>
				</div>
				</form>
			</div>
        </div>
        <div class="box-body table-responsive">
            <table class="table table-bordered table-striped table-hover">
                <tbody>
                <notempty name="data">
                    <tr>
                        <th class="text-center">编号</th>
                        <th class="text-center">Report_ID</th>                        
                        <th class="text-center">特服号</th>
                        <th class="text-center">电话</th>
                        <!--<th class="text-center">唯一标识</th>-->
                        <th class="text-center">时间</th>
                        <th class="text-center">状态</th>
                        <th class="text-center">操作</th>
                    </tr>
                    <volist name='data' id='items'>
                        <tr>
                            <td class="text-center">{$items.sms_id}</td>
                            <td class="text-center">{$items.sms_report_id}</td>
                            <td class="text-center">{$items.sms_service_number}</td>
                            <td class="text-center">{$items.sms_mobile}</td>
                            <!--<td class="text-center">{$items.sms_code}</td>-->
                            <td class="text-center">{$items.sms_time}</td>
                            <td class="text-center">{$items.state}</td>
                            <td class="text-center">
                                <a href="{$items.detail}" rel-action="dialog">详情</a>
                                <!-- <a href="{$items.delete}" rel-action="delete">删除</a> -->
                            </td>
                        </tr>
                    </volist>
                    <else />
                    <tr><td>暂无符合条件记录</td></tr>
                </notempty>
                </tbody>
            </table>
        </div>
        <notempty name="data">
            <div class="box-footer clearfix">
                {$page}
            </div>
        </notempty>
    </div>
</block>